package com.redteam.data.enums;

/**
 * Enum for different kinds of rental time
 * @author Anthony Ferrari
 */
public enum RentalTime {

    /**
     * Shows a <code>RentalTime</code> Hourly
     */
    Hourly("Hourly"),
   /**
     * Shows a <code>RentalTime</code> Daily
     */
    Daily("Daily"),
    /**
     * Shows a <code>RentalTime</code> Weekend
     */
    Weekend("Weekend"),
    /**
     * Shows a <code>RentalTime</code> Weekly
     */
    Weekly("Weekly"),
    /**
     * Shows a <code>RentalTime</code> Monthly
     */
    Monthly("Monthly");

    private String description;

    RentalTime(String description){
        this.description=description;
    }

    /**
     * Returns the string representation of the enum.
     * @return The string representation of the enum
     */
    public String getDescription(){
        return this.description;
    }
}
